package ujson

const (
	GrayTargetTypeIP = 1              // ip
	GrayTargetTypeMask = 2            // net mask
	GrayTargetUnknow = 3              // 未知
)

type GrayConfig struct {
	Version 		string		`json:"version"`
	TargetType 		int			`json:"target_type"`
	Target 			string		`json:"target"`
	LocalIP 		string		`json:"local_ip"`
}

type AgentRouteConfig struct {
	ConfigUrl           string          `json:"config_url"`
	SocketAddress       string          `json:"socket_address"`
	Timeout             int             `json:"timeout"`
	HeartbeatTimeout    int             `json:"heartbeat_timeout"`
}
